<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>user list</title>
</head>
<body>
<table class="table table-bordered">
<caption>user-list</caption>
<thead>
<tr>
<td>ID</td>
<td>名称</td>
<td>操作</td>
</tr>
</thead>
<tbody>

<c:forEach var="sysUser" items="${ userList}">
<tr>
<td>${sysUser.id }</td>
<td>${sysUser.name }</td>
<td><a id="login-btn" class="btn btn-small btn-success" href="<c:url value='/user/show/${sysUser.id}'/>">
<i class="icon-user icon-white"></i>
操作
</a></td>
</tr>
</c:forEach>
</tbody>
</table>

</body>
</html>